package com.lzq.principle.dependency;

/**
 * @author modify
 * @date 2022/11/4
 */
public class HardDeskA implements HardDesk {
    @Override
    public void save(String data) {
        System.out.println("使用HardDeskA硬盘存储数据  数据为 ===>>> " + data);
    }

    @Override
    public String get() {
        System.out.println("使用HardDeskA硬盘取数据");
        return "数据";
    }
}
